package isp.apps.example.shoppingcart.persistence;

import isp.apps.example.shoppingcart.domain.CreditCard;

import java.util.List;

public interface CreditCardDirectory
{
  /**returns a list of all Credit Cards
   * @return list
   */
  public List getCreditCards();

  /**Returns the Credit Card for the given Integer Id
   * @param id
   * @return 
   */
  public CreditCard getCreditCardById(Integer id);

  /**Returns a list of valid credit cards
   * @return
   */
  public List getValidCreditCards();

}
